package com.chixing.day20_annotation_jdk8;


import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.METHOD})
@Inherited
public @interface InitSex {

    enum SEX_TYPE {MAN,WOMEN}
    SEX_TYPE sex() default SEX_TYPE.MAN;

}
